package com.example.common.filter;
import com.alibaba.fastjson2.filter.SimplePropertyPreFilter;


/**
 * 敏感属性过滤器
 */
public class PropertyPreExcludeFilter extends SimplePropertyPreFilter{

    public PropertyPreExcludeFilter(){};

    public PropertyPreExcludeFilter addExcludes(String... filters){
        for (String filter:filters){
            this.getExcludes().add(filter);
        }
        return this;
    }
}
